import Doing from '@/components/doing'
import Swipers from '@/components/swipers'
import Login from '@/components/login'
import Home from '@/components/home'
import List from '@/components/list'
import Detail from '@/components/detail'
// import Person from '@/components/person'

const routes = [
    {
      path:'/',
      redirect:'/doing'
    },
    {
      path: '/doing',
      name: 'doing',
      component: Doing
    },
    {
      path: '/swipers',
      name: 'swipers',
      component: Swipers
    },
    {
      path: '/login',
      name: 'login',
      component: Login
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    },
    {
      path: '/list',
      name: 'list',
      component: List
    },
    {
      path: '/detail',
      name: 'detail',
      component: Detail
    },
    // {
    //   path: '/person',
    //   name: 'person',
    //   component: Person
    // }

  
  ]

  export default routes